package com.example.aop;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @author syg
 * @description
 * @date 2021/12/27 16:02
 */
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface SlidingLimitAnno {
    public String limitKey() default "limit:sliding";
    public int timeWin() default 10;
    public int maxCount() default 100;
}
